import request from '@/utils/request'
import { Result, DeepRequired } from '../../interface'

/**
 * 查询招聘流程
 * /recruitProcess/getByjobId/{jobId}
 */
export function getRecruitProcessGetByjobIdByJobId(
  params: GetRecruitProcessGetByjobIdByJobIdParams,
) {
  return request.get<DeepRequired<Result>>(
    `/recruitProcess/getByjobId/${params.jobId}`,
  )
}

interface GetRecruitProcessGetByjobIdByJobIdParams {
  jobId: number
}
